package android.contest.util;

import java.sql.Time;
import java.util.Calendar;

public class TimeUtil {
	public static void reportCalendarTime(String string, long alarm_time) {
		Calendar c = Calendar.getInstance();
    	c.setTimeInMillis(alarm_time);
		Log.v(Log.LOGDB, string + "=" + c.getTime().toString());
	}
	
	public static void reportCalendarTime(String string, Calendar c) {
		Log.v(Log.LOGDB, string + "=" + c.getTime().toString());
	}
	
	public static void reportTimeInDay(String str, long time){
		Time time_t1 = new Time(time);
		Log.v(Log.LOGDB, str + "=" + time_t1.toString());
	}
	
	public static void reportTimeMillis(String str, long time){
		Log.v(Log.LOGDB, str + "=" + time);
	}
}
